/*
 * @Author: 周鹏飞
 * @Date: 2021-06-25 14:36:09
 * @LastEditors: 周鹏飞
 * @LastEditTime: 2021-06-29 09:11:11
 * @Description: file content
 */
import request from '@/utils/request'

// 查询大屏型号列表
export function listLedModel(query) {
  return request({
    url: '/led/ledModel/list',
    method: 'get',
    params: query
  })
}

// 查询大屏型号详细
export function getLedModel(id) {
  return request({
    url: '/led/ledModel/' + id,
    method: 'get'
  })
}

// 新增大屏型号
export function addLedModel(data) {
  return request({
    url: '/led/ledModel',
    method: 'post',
    data: data
  })
}

// 修改大屏型号
export function updateLedModel(data) {
  return request({
    url: '/led/ledModel',
    method: 'put',
    data: data
  })
}

// 删除大屏型号
export function delLedModel(id) {
  return request({
    url: '/led/ledModel/' + id,
    method: 'delete'
  })
}
